//
//  NSDate+Extension.h
//  百思不得姐
//
//  Created by 胥鸿儒 on 16/6/15.
//  Copyright © 2016年 xuhongru. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (Extension)

- (NSDateComponents *)deltaFrom:(NSDate *)from;

- (BOOL)isToday;

- (BOOL)isYesterday;

- (BOOL)isThisYear;

@end
